package com.sy.musicapp.intent.api

import com.sy.musicapp.model.LoginWay
import com.sy.musicapp.model.UserInfoViewModel

interface UserApi {
    fun login(username: String, pwd: String, choice: LoginWay = LoginWay.Phone,callback: UserInfoViewModel.LoginCallback)
    fun updateStatus(status: (Boolean) -> Unit)
    fun getUserInfo()
    fun logout(status: (Boolean) -> Unit)
    fun getBanner()
    fun getRecomMusic()
}